package com.lmqb.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lmqb.bean.LmUser;
import com.lmqb.page.LmUserPager;

public interface LmUserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(LmUser record);

    int insertSelective(LmUser record);

    LmUser selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(LmUser record);

    int updateByPrimaryKey(LmUser record);

	List<LmUser> selectAllUser();

	List<LmUser> selectAll(LmUserPager pagerModel);

	int selectCount(LmUserPager pagerModel);

	List<LmUser> selectTuiGuang(Integer[] userIds);

	Integer selectTodayCount();
	
	int updateAgentCheckPass(Integer userId);//代理审核通过
	
	int updateAgentCheckNoPass(Integer userId);//代理审核不通过
	
	List<LmUser>selectAllLoanAgian(LmUserPager pagerModel);//复借用户

	int selectCountLoanAgian(LmUserPager pagerModel);//复借用户总数
	
	LmUser selectByMobile(String userMobile);//通过手机号找用户
	
	List<LmUser> selectCailiaobucUser(LmUserPager pagerModel);//补充材料用户
	
	int selectCailiaobucCount(LmUserPager pagerModel);//补充材料用户总数
}